package com.ztools.wx.controller;

import com.ztools.api.service.pc.ApiService;
import com.ztools.common.util.common.Result;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: seeTools
 * @Date: 2023/7/12  14:35
 * @Version 1.0
 */
@RestController
@RequestMapping("/wx/api")
public class WxApiController {

    @Reference(version = "1.0", check = false, timeout = 3000)
    private ApiService apiService;

    @RequestMapping("/findJokes")
    public Result findJokes() {
        return apiService.findJokes();
    }

}
